package com.shengwei.truck.driver.bean;
/**
 * 常量
 */
public class MyConstant {
    public final static String BUILD_TYPE = "debug";


    //测试环境
    public final static String SOCKET_IP = "101.201.149.40";
    public final static int SOCKET_IP_PORT = 28060;
    public final static String BUSINESS_SERVER_DEBUG = "http://101.201.149.40:28010/"; //业务服务器接口地址
    public final static String FILE_SERVER_DEBUG = "http://101.201.149.40:28090/"; //文件服务器接口地址
    public static final String POST_FILE = FILE_SERVER_DEBUG +  "lh/file/uploadFile";
    public final static String GIS_SERVER_DEBUG = "http://101.201.149.40:28070/"; //GIS服务器接口地址
  public static final String API_APP_UPDATE = "http://101.201.149.40:18010/"+"appVersion";
    //外网

     //外网socket public final static String SOCKET_IP = "101.201.149.40";
    //外网socket public final static int SOCKET_IP_PORT = 18060;
    /*public final static String BUSINESS_SERVER_DEBUG = "http://101.201.149.40:18010/"; //业务服务器接口地址
    public final static String FILE_SERVER_DEBUG = "http://101.201.149.40:18090/"; //文件服务器接口地址
    public static final String POST_FILE = FILE_SERVER_DEBUG +  "lh/file/uploadFile";
    public final static String GIS_SERVER_DEBUG = "http://101.201.149.40:18070/"; //GIS服务器接口地址
    public static final String API_APP_UPDATE = "http://101.201.149.40:18010/"+"appVersion";*/

//局域网
    //外网socket public final static String SOCKET_IP = "101.201.149.40";
    //外网socket public final static int SOCKET_IP_PORT = 18060;
/*    public final static String SOCKET_IP = "192.168.100.57";
    public final static int SOCKET_IP_PORT = 8060;
    public final static String BUSINESS_SERVER_DEBUG = "http://192.168.100.57:8010/"; //业务服务器接口地址
    public final static String FILE_SERVER_DEBUG = "http://192.168.100.57:8090/"; //文件服务器接口地址
  // public final static String FILE_SERVER_DEBUG = "http://101.201.149.40:18090/"; //文件服务器接口地址
    public static final String POST_FILE = FILE_SERVER_DEBUG +  "lh/file/uploadFile";
    public final static String GIS_SERVER_DEBUG = "http://192.168.100.57:8070/"; //GIS服务器接口地址
  public static final String API_APP_UPDATE = "http://101.201.149.40:18010/"+"appVersion";*/

    //public final static String testCustomName = "北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区北京朝阳区朝阳区";
    public final static int FORGET_PASSWORD = 1;
    public final static int MODIFY_PASSWORD = 0;
    public final static String WEB_PRIVACY = "http://101.201.149.40/privacy.html";

     // 选择并上传图片
    public static final int REQUESTCODE_CAMERA = 1;         // 请求打开手机照相机
    public static final int REQUESTCODE_CAMERA_RECV = 4;     // 请求打开手机照相机 for 收货榜单图片
    public static final int REQUESTCODE_PICK = 0;           // 请求打开系统相册
    public static final int REQUESTCODE_PICK_RECV = 3;      // 请求打开系统相册 for 收货榜单图片
    public static final int REQUESTCODE_CUTTING = 2;        // 请求裁决图片
    public static final String FIRST_OPEN = "first_open"; //APP是否第一次打开
    public static final String APP_ID = "APP_DRIVER" ;  //登录时传递APP_ID

    //广播
    public static final String SERVER_CONNECT_OK_BROADCAST = "server_connect_ok_broadaction"; //socket连接成功广播
    public static final String ALARM_HEART_BROADCAST = "send_heart_broadaction" ;

    //手机品牌
    public final static String HUAWEI = "huawei"; //华为
    public final static String HUAWEI_P = "huawei"; //华为P系列
    public final static String HUAWEI_MATE = "huawei";  //华为MATE系列
    public final static String HUAWEI_NOVA = "huawei";  //华为NOVE系列*/
    public final static String HUAWEI_MAI_MANG = "huawei";  //华为MAI MANG系列*/
    public final static String HUAWEI_HONOR = "honor"; //华为荣耀
    public final static String HUAWEI_PIXEL = "google";  //华为MAI PIXEL系列*/
    public final static String HUAWEI_Nexus = "google";  //华为MAI Nexus系列*/
    public final static String OPPO_ColorOS = "coloros";  //OPPO ColorOS系列*/
    public final static String OPPO = "oppo";  //OPPO系列*/
    public final static String VIVO = "vivo";  //VIVO系列*/
    public final static String MI = "xiaomi";  //VIVO系列*/

    //任务状态务状态：0未接单 1接单 2提货-运输 3榜单 4重新提交榜单
    public static final int HAS_RECV_TASK = 1;         // 已接任务
    public static final int HAS_GET_GOODS = 2;         // 已提货--运输状态
    public static final int HAS_POST_POUNDSLIST = 3;   // 已提交榜单，目前任务状态到这个3，APP就算完成
    public static final int RETRY_POST_POUNDSLIST = 4;   // 重新提交榜单
  //单次最多发送图片数


}

